FROM registry.cn-hangzhou.aliyuncs.com/modelscope-repo/modelscope:ubuntu20.04-cuda11.3.0-py37-torch1.11.0-tf1.15.5-1.3.0
WORKDIR /app
COPY . /app
EXPOSE 8000
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
RUN python -m pip install -r requirements.txt
RUN python -m pip install cryptography==38.0.4
RUN python -m pip install imutils==0.5.4
CMD ["python" ,"main.py"]
